﻿#if NETFX_CORE
using Windows.Storage;
#endif

namespace DaveSexton.Labs
{
	/// <summary>
	/// Represents a file system folder.
	/// </summary>
	public interface IFolder
#if NETFX_CORE
 : IStorageFolder
#endif
	{
		/// <summary>
		/// Gets a value indicating whether the folder exists on disc.
		/// </summary>
		bool Exists { get; }

		/// <summary>
		/// Gets the full path and name of the folder.
		/// </summary>
		string FullName { get; }

#if !NETFX_CORE
		/// <summary>
		/// Gets the name of the folder, without its path.
		/// </summary>
		string Name { get; }
#endif

		/// <summary>
		/// Deletes the folder on disc.
		/// </summary>
		void Delete();
	}
}